package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account   string `gorm:"type:char(11);not null;comment:账号"`
	Password  string `gorm:"type:char(32);not null;comment:密码"`
	Name      string `gorm:"type:varchar(20);comment:用户昵称"`
	Address   string `gorm:"type:varchar(60);comment:地址"`
	HeadImage string `gorm:"type:varchar(500);comment:头像"`
}
